package com.ysf.cn.springbootshrio.pojo;

import io.swagger.annotations.ApiModel;

/**
 * @author ysf
 * @date 2020/2/12 13:27
 * 用户实体类
 */
@ApiModel("用户实体类")
public class User {

    private Integer userid;
    private String username;
    private String fullname;
    private String password;
    private String salt;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public User(Integer userid, String username, String fullname, String password, String salt) {
        this.userid = userid;
        this.username = username;
        this.fullname = fullname;
        this.password = password;
        this.salt = salt;
    }

    public User() {
    }
}
